package ModelImplementation

import "time"

type TimeCard struct {
	itsDate time.Time
	hours   float64
}
 
func (card *TimeCard) GetDate() time.Time {
	return card.itsDate
}

func (card *TimeCard) GetHours() float64 {
	return card.hours
}

func NewTimeCard(date time.Time, hours float64) TimeCard {
	return TimeCard{
		itsDate: date, 
		hours: hours
	}
}